﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ClearLineSweet : ClearedSweet{


    public bool isRow;

    public override void Clear()
    {
        base.Clear();
        if (isRow)
        {
            sweet.gameManger.ClearRow(sweet.Y);
        }
        else
        {
            sweet.gameManger.ClearColumn(sweet.X);
        }
    }
	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
